package com.bhs.sansonglogistics.ui.enterprise;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.bhs.sansonglogistics.R;
import com.bhs.sansonglogistics.base.BaseActivity;
import com.bhs.sansonglogistics.net.NetCallBack;
import com.bhs.sansonglogistics.ui.adapter.PictureSelectAdapter;
import com.bhs.sansonglogistics.ui.adapter.VideoSelectAdapter;
import com.luck.picture.lib.config.SelectMimeType;

import okhttp3.ResponseBody;
import retrofit2.Response;

/**
 * 发布视频
 */
public class IssueVideoActivity extends BaseActivity implements NetCallBack, View.OnClickListener {

    private RecyclerView mRvList;
    private Button mBtnSubmit;
    private VideoSelectAdapter videoSelectAdapter;

    @Override
    public int initLayout() {
        return R.layout.activity_issue_video;
    }

    @Override
    public void initView() {
        TextView mTvTitle = findViewById(R.id.tv_title);
        mTvTitle.setText("发布视频");
        mRvList = findViewById(R.id.rv_list);
        mBtnSubmit = findViewById(R.id.btn_submit);
        //videoSelectAdapter=new VideoSelectAdapter();

        mBtnSubmit.setOnClickListener(this);
    }

    @Override
    public void initData() {
        mRvList.setAdapter(videoSelectAdapter);
        mRvList.setLayoutManager(new LinearLayoutManager(this));
    }

    @Override
    public void onClick(View view) {

    }

    @Override
    public void onResponse(int requestCode, String json, Response<ResponseBody> response) throws Exception {

    }

    @Override
    public void onFailure(int requestCode) {

    }
}